package com.example.treeHole.dao;

import com.example.treeHole.vo.NotificationMain;

import java.util.List;

public interface NotificationMainMapper {
    int deleteByPrimaryKey(String id);

    int insert(NotificationMain record);

    int insertSelective(NotificationMain record);

    NotificationMain selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NotificationMain record);

    int updateByPrimaryKey(NotificationMain record);

    void insertList(List<NotificationMain> notificationMainList);

    List<NotificationMain> findSysByType(String uId);

    List<NotificationMain> findAdminSysByType(String id);

    void updateByArticleAndNC(String id);
}